Skip to main content

All Questions

Tagged with
1vote
1answer
642views

What are the best way to publish application event in a spring boot application?

My goal is to collect/publish different types of information from the application. We use Kafka for the event bus. Consider the following sample code. class UserService { public User ...
Muztaba Hasanat's user avatar
0votes
1answer
870views

Design and setup a centralized logging with microservices / docker

I am developing on a a large webapp system that has multiple docker containers. Imagine a webapp but with many external restful services running on different containers. A microservices setup. I ...
Robbo_UK's user avatar
0votes
1answer
544views

Filtering exceptions in log - Design Smell?

I used Spring Boot 1.5 which uses Logback. I created event objects in controllers and validated them using @EventListener. When a validation error happened I raised an ApplicationSpecificException ...
Nikos's user avatar
5votes
1answer
7kviews

Logging RestTemplate's responses

I want to log responses using Spring's RestTemplate. At first I thought I should do it using a ClientHttpRequestInterceptor, but since every set of requests should be logged to a different file, I ...
Nati's user avatar
4votes
3answers
5kviews

Is it still a good practice to log parameters and returns?

Just a context, I am currently making a base code for a Java Spring Boot Application. I am currently setting up the logging of the application and I stumbled upong this url and found it helpful. ...
Rey Libutan's user avatar

close